"use strict";
/*
 * @Author: wwssaabb
 * @Date: 2021-08-14 10:51:21
 * @LastEditTime: 2021-08-14 16:10:06
 * @FilePath: \ts_demo\demo\base_demo.ts
 */
Object.defineProperty(exports, "__esModule", { value: true });
const user1 = {
    name: "张三",
    age: 26,
};
console.log(user1);
const user2 = {
    name: "李四",
    age: 26,
};
const say = function (name, age) {
    console.log(`我叫${name},今年${age}`);
};
say("张三", 26);
const say1 = (name, age) => {
    console.log(`我叫${name},今年${age}`);
};
say1("李四", 26);
//不同点2，type语句中还可以使用typeof获取实例的类型进行赋值
let obj = { name: "张三", age: 26 };
